package com.panda.entity.vo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("用户修改密码")
public class UserPwdVo {
    @ApiModelProperty("原密码")
    @NotBlank(message = "原密码不能为空")
    private String oldPwd;
    @ApiModelProperty("新密码")
    @NotBlank(message = "新密码不能为空")
    private String newPwd;
}
